frame.setTitle("Consumer test");

mq.subscribe("Testing", function(e) { label.text = e.toString(); });

var label = new javax.swing.JLabel("Consumer");
frame.add(label);